package com.chenxy.gateway.feign;

import com.chenxy.common.result.Res;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("user-center")
@Component
public interface UserCenterFeignClients {
    @PostMapping("/user/center/user/isCanRequest")
    Res<Boolean> isCanRequest(@RequestParam(value = "userid") Integer userid, @RequestParam(value = "url") String url);
}
